<!--
  
   SitRepListView.xaml
  
   Copyright (c) 2007 Mike Strobel
  
   This source code is subject to the terms of the Microsoft Reciprocal License (Ms-RL).
   For details, see <http://www.opensource.org/licenses/ms-rl.html>.
  
   All other rights reserved.
  
  -->
<UserControl x:Class="Supremacy.Client.SitRepListView"
             xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:Supremacy.Client">
  <Grid>
    <ListBox x:Name="SitRepListBox"
             DisplayMemberPath="HeaderText"
             ItemsSource="{Binding Path=ClientContext.LocalPlayerEmpire.SitRepEntries, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:SitRepListView}}}"
             MouseDoubleClick="SitRepListBox_MouseDoubleClick"
             MinWidth="480"
             MinHeight="320" />
  </Grid>
</UserControl>